home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power Programmierung 2
/
Power-Programmierung CD 2 (Tewi)(1994).iso
/
c
/
library
/
dos
/
grafik
/
hgraphic
/
graphics.h
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1988-01-19
|
352 b
|
20 lines
#define UP 1
#define DOWN 2
#define LEFT 3
#define RIGHT 4
#define OVERWRITE 2
#define WHITE 1
#define BLACK 0
#define XOR -1
#define byte_addr(x,y) (((y)/4)*90 + ((y)&3)*0x2000 + ((x)/8))
#define bit_pos(x) (1 << (7 - ((x)&7)))
#define bit_num(x) ((x)&7)
struct shape_type {
int x;
int y;
char *shape_array;
};